package com.frank.circle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 圈子信息
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/10/15
 * @description
 */
@Data
@TableName(value = "share_circle")
@Accessors(chain = true)
public class ShareCircle implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 圈子ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 父级ID,-1为大类
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 圈子名称
     */
    @TableField(value = "circle_name")
    private String circleName;

    /**
     * 圈子图片
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否被删除 0为删除 1已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;
}